#include <iostream>
#include <stdio.h>

int main(int argc, char* argv[], char* env[])
{
    for(int i = 0; i < argc; ++i)
    {
        printf("argv[%d]: %s\n", i, argv[i]);
    }

    std::cout << "\n";

    for(int i = 0; env[i]; ++i)
    {
        printf("env[%d]: %s\n", i, env[i]);
    }
    
    std::cout << "我是自己写的C++程序\n";
}
